package com.woniu.owner.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.common.ResponseData;
import com.woniu.owner.entity.HomeMenu;
import com.woniu.owner.service.HomeMenuService;
import com.woniu.owner.mapper.HomeMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 * @description 针对表【home_menu】的数据库操作Service实现
 * @createDate 2025-01-07 18:03:32
 */
@Service
public class HomeMenuServiceImpl extends ServiceImpl<HomeMenuMapper, HomeMenu>
        implements HomeMenuService {

    @Override
    public ResponseData<?> queryAllHomeMenu() {
        List<HomeMenu> list = lambdaQuery().list();
        return new ResponseData<>().ok(list);
    }
}




